import Vue from "vue";
// 引入vuex
import Vuex from 'vuex'
// 使用vuex
Vue.use(Vuex)

// 引入小仓库（各个组件的数据仓库）
import userOptions from "./user";
import parkingOptions from "./parking";
import carsOptions from "./car";
import orderOptions from "./order";

export default new Vuex.Store({
    modules: {
        userAbout: userOptions,
        parkingAbout: parkingOptions,
        carsAbout: carsOptions,
        orderAbout: orderOptions
    }
})